package com.cloudbroker.bcs.platform.ltb.bizapi.service.customer;

import com.cloudbroker.bcs.common.annotation.NoLogin;
import com.cloudbroker.bcs.common.annotation.NoToken;
import com.cloudbroker.bcs.common.annotation.RedisMutex;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.customer.vo.CustomerRegForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.user.back.UserLoginBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.customer.vo.CapitalLoginForm;

/**
 * Created by tianrui on 2016/7/5.
 */
public interface CustomerBizService {

    /**
     * 跟投者用户注册
     * */
    @NoLogin
    @RedisMutex(key = "register", value = "", expireTime = 1)
    public UserLoginBack funcCustomerRegister(CustomerRegForm param);


    @NoLogin
    @NoToken
    public UserLoginBack func_capital_account_login(CapitalLoginForm param);


}
